package src.反射5;


import src.反射3.User;

import java.sql.SQLException;
import java.util.List;

public class Test {
    public static void main(String[] args) throws SQLException, NoSuchFieldException, ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
        List<User> list=MyJbutils.findList("select * from tbl_jdbc0", User.class);
        for (int i = 0; i <list.size() ; i++) {
            System.out.println("list.get(i) = " + list.get(i));
        }
    }
}
